<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png">
    <h1>{{ heading }}</h1>
    <h3>{{ reverseHeading }}</h3>
    <input type="text" v-model.lazy="heading">
    <ul>
      <li
        v-for="(item, index) of 10"
        :key="index"
      >
        {{ item }}heading
      </li>
    </ul>
  </div>
</template>

<script>

export default {
  name: 'App',
  data() {
    return {
      heading: "Welcome to Your Vue.js App"
    }
  },
  computed: {
    reverseHeading() {
      return this.heading.split("").reverse().join()
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
</style>
